package com.wan.usercenter.pojo.entity;

import java.io.Serializable;
import java.util.Date;

public class BasicAdministrative implements Serializable {
    private Long id;

    private String name;

    private Long code;

    private String mnemonicCode;

    private String areaType;

    private Long orderNum;

    private Long parentId;

    private String remark;

    private Long tenantId;

    private Long orgId;

    private Long createdBy;

    private String creator;

    private Date createdTime;

    private Long updatedBy;

    private String modifier;

    private Date updatedTime;

    private Byte status;

    private Long version;

    private static final long serialVersionUID = 1L;

    public BasicAdministrative(Long id, String name, Long code, String mnemonicCode, String areaType, Long orderNum, Long parentId, String remark, Long tenantId, Long orgId, Long createdBy, String creator, Date createdTime, Long updatedBy, String modifier, Date updatedTime, Byte status, Long version) {
        this.id = id;
        this.name = name;
        this.code = code;
        this.mnemonicCode = mnemonicCode;
        this.areaType = areaType;
        this.orderNum = orderNum;
        this.parentId = parentId;
        this.remark = remark;
        this.tenantId = tenantId;
        this.orgId = orgId;
        this.createdBy = createdBy;
        this.creator = creator;
        this.createdTime = createdTime;
        this.updatedBy = updatedBy;
        this.modifier = modifier;
        this.updatedTime = updatedTime;
        this.status = status;
        this.version = version;
    }

    public BasicAdministrative() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getMnemonicCode() {
        return mnemonicCode;
    }

    public void setMnemonicCode(String mnemonicCode) {
        this.mnemonicCode = mnemonicCode == null ? null : mnemonicCode.trim();
    }

    public String getAreaType() {
        return areaType;
    }

    public void setAreaType(String areaType) {
        this.areaType = areaType == null ? null : areaType.trim();
    }

    public Long getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Long getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Long updatedBy) {
        this.updatedBy = updatedBy;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", code=").append(code);
        sb.append(", mnemonicCode=").append(mnemonicCode);
        sb.append(", areaType=").append(areaType);
        sb.append(", orderNum=").append(orderNum);
        sb.append(", parentId=").append(parentId);
        sb.append(", remark=").append(remark);
        sb.append(", tenantId=").append(tenantId);
        sb.append(", orgId=").append(orgId);
        sb.append(", createdBy=").append(createdBy);
        sb.append(", creator=").append(creator);
        sb.append(", createdTime=").append(createdTime);
        sb.append(", updatedBy=").append(updatedBy);
        sb.append(", modifier=").append(modifier);
        sb.append(", updatedTime=").append(updatedTime);
        sb.append(", status=").append(status);
        sb.append(", version=").append(version);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}